@layout("/backend/common/_container.html"){
<div class="dhcc-form" id="resourceInfoForm">
    <#Hidden id="id"/>
    <#Input id="name" name="名称" />
    <#Input id="perms" name="资源权限" />
    <#Input id="parentName" name="父级编号"
    hidden="parentId" readonly="readonly"
    clickFun="ResourceInfoDlg.showResourceSelectTree(); return false;"
    style="background-color: #ffffff !important;"
    selectFlag="true" selectId="pTreeDiv" selectTreeId="pTree" selectStyle="width:244px !important;"/>
    <#Input id="weight" name="排序" type="number" />
    <#Hidden id="url"/>
    <#Hidden id="resType" value="3"/>
    <#Hidden id="icon"/>
    <div class="toolbar">
        <#Button name="保存" id="ensure" icon="icon-w-save" clickFun="ResourceInfoDlg.addSubmit()"/>
        <#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="ResourceInfoDlg.close()"/>
    </div>
</div>
<script src="${ctxPath}/static/backend/system/resource/api/resource_info.js"></script>
@}
